package org.sparkle.db.basic;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.Version;

import com.avaje.ebean.validation.NotNull;

//@Entity
@MappedSuperclass
public class BaseVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1800049550057304863L;
	@Id
	private String id;
	
	@NotNull
	private String lstUpdUser;
	@Version
	private Timestamp lstUpdTmstp;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLstUpdUser() {
		return lstUpdUser;
	}

	public void setLstUpdUser(String lstUpdUser) {
		this.lstUpdUser = lstUpdUser;
	}

	public Timestamp getLstUpdTmstp() {
		return lstUpdTmstp;
	}

	public void setLstUpdTmstp(Timestamp lstUpdTmstp) {
		this.lstUpdTmstp = lstUpdTmstp;
	}

}
